Skip to content

Conversation

@hawkadrian
Copy link
Contributor

Prevents uint64 overflow in gas calculations by adding overflow-safe multiplication for large keys/values.

Replaces unsafe operations in Get(), Set(), and consumeSeekGas() methods.

Fixes TODO comments and prevents potential gas manipulation attacks.

@aljo242
Copy link
Contributor

aljo242 commented Oct 14, 2025

You should open an issue for tracking purposes of this work and detail what we gain etc for the change

this should be tested and have justification

@aljo242 aljo242 closed this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants